package com.jrx.anytxn.transaction.dto.payment;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 *  正常还款试算返回
 * @author  jing,xy
 * date  2019/10/23
 **/
@ApiModel(value = "还款请求实体", description = "还款返回实体")
public class OnDuePayTrialRes implements Serializable {

    /**
     * 用户编号
     */
    @ApiModelProperty(value = "用户编号" ,required = true)
    private String userId;

    /**
     * 	应还总金额
     */
    @ApiModelProperty(value = "应还总金额" ,required = true)
    private BigDecimal totalAmount = BigDecimal.ZERO;

    /**
     * 订单信息列表
     */
    private List<OnDuePayLoanRes> loanList;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public List<OnDuePayLoanRes> getLoanList() {
        return loanList;
    }

    public void setLoanList(List<OnDuePayLoanRes> loanList) {
        this.loanList = loanList;
    }

    public BigDecimal getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(BigDecimal totalAmount) {
        this.totalAmount = totalAmount;
    }
}
